"""


Version: 0.1
Author: lk
Date: 2022-03-08 19:30
"""
import numpy as np
import torch
import torch.nn as nn
import dgl
import torch.nn.functional as F
from dgl.nn.pytorch.conv import GINConv
from dgl.nn.pytorch.glob import AvgPooling, MaxPooling, SumPooling
if __name__ == '__main__':
    g=dgl.rand_graph(10,9)
    g_node_feats = torch.randn(10,3)
    g_node_feats = torch.ones(10,3)
    print(SumPooling()(g,g_node_feats))
